package abstractFactory;

public class Test {

    public static void main(String[] args) {
        FruitsFactory fruitsFactory=new NouthFruitsFactory();
        FruitsFactory southFruitsFactory=new SouthFruitsFactory();
        Fruits a=fruitsFactory.createFruits();
        Fruits b=southFruitsFactory.createFruits();
        a.product();
        b.product();
    }
}
